package com.greenleaf.entity;

import org.springframework.stereotype.Component;
/**
 * 商品图片表
 * */
@Component
public class PdtImgs {
private Integer imgId;//编号
private Integer pdtId;//所属产品
private String imgUrl;//图片路径
private Integer weight;//权重
public Integer getImgId() {
	return imgId;
}
public void setImgId(Integer imgId) {
	this.imgId = imgId;
}
public Integer getPdtId() {
	return pdtId;
}
public void setPdtId(Integer pdtId) {
	this.pdtId = pdtId;
}
public String getImgUrl() {
	return imgUrl;
}
public void setImgUrl(String imgUrl) {
	this.imgUrl = imgUrl;
}
public Integer getWeight() {
	return weight;
}
public void setWeight(Integer weight) {
	this.weight = weight;
}
public PdtImgs(Integer imgId, Integer pdtId, String imgUrl, Integer weight) {
	super();
	this.imgId = imgId;
	this.pdtId = pdtId;
	this.imgUrl = imgUrl;
	this.weight = weight;
}
public PdtImgs() {
	super();
	// TODO Auto-generated constructor stub
}
@Override
public String toString() {
	return "PdtImgs [imgId=" + imgId + ", pdtId=" + pdtId + ", imgUrl=" + imgUrl + ", weight=" + weight + "]";
}

}
